home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / FLI106C.ZIP;1 / DIAELEM.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-12  |  1.5 KB  |  93 lines

  1. //
  2. // The Fusion Library Interface for DOS
  3. // Version 1.06c
  4. // Copyright (C) 1990, 1991, 1992
  5. // Software Dimensions
  6. //
  7. // DialogElement
  8. //
  9.  
  10. #include "fli.h"
  11.  
  12. #ifdef __BCPLUSPLUS__
  13. #pragma hdrstop
  14. #endif
  15.  
  16. #include <stddef.h>
  17.  
  18. //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  19. //
  20. // DialogElement Constructor
  21. //
  22. //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  23.  
  24. DialogElement::DialogElement()
  25. {
  26.   X=0;
  27.   Y=0;
  28.   Width=0;
  29.   Height=0;
  30.   Help=NULL;
  31.   FusionHelp=0;
  32.   Last=NULL;
  33.   Next=NULL;
  34.   Blaze=NULL;
  35.   LocX=0;
  36.   LocY=0;
  37.   LocatorText=NULL;
  38.   QuickKey=0;
  39.   GroupCode=0;
  40.   Avail=0;
  41. }
  42.  
  43. //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  44. //
  45. // Declarations for virtual functions (if not overridden elsewhere)
  46. //
  47. //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  48.  
  49. int DialogElement::Arrival()
  50. {
  51.   return CompleteEvent;
  52. }
  53.  
  54. int DialogElement::Departure()
  55. {
  56.   return CompleteEvent;
  57. }
  58.  
  59. int DialogElement::Validation()
  60. {
  61.   return CompleteEvent;
  62. }
  63.  
  64. int DialogElement::Available()
  65. {
  66.   if (Avail)
  67.   {
  68.     if (*Avail)
  69.       return CompleteEvent;
  70.     else
  71.       return FailedEvent;
  72.   }
  73.  
  74.   return CompleteEvent;
  75. }
  76.  
  77. int DialogElement::Action()
  78. {
  79.   return CompleteEvent;
  80. }
  81.  
  82. DialogElement::~DialogElement()
  83. {
  84.   // intentionally blank
  85. }
  86.  
  87. #pragma warn -par
  88. void DialogElement::operator+ (char *String)
  89. {
  90.   return;
  91. }
  92. #pragma warn .par
  93.